package com.atguigu.gmall.user.listener;

import com.atguigu.gmall.util.BrowerUtil;

import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;


public class MyContextListener implements ServletContextListener {
    @Override
    public void contextInitialized(ServletContextEvent servletContextEvent) {
        System.out.println("2222222222222");
        try {
            BrowerUtil.poenBrowser("http://192.168.0.253:8062/getAllUser");
        } catch (Exception e) {
            e.printStackTrace();
        }
    }

    @Override
    public void contextDestroyed(ServletContextEvent servletContextEvent) {

    }
}
